package com.example.jixeishi1.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {

    int id;
  String  yhusername;
    String username;
    String password;
    int role;
  String  telephone;
    Date createtime;
    int conferred;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", yhusername='" + yhusername + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", role=" + role +
                ", telephone='" + telephone + '\'' +
                ", create_time=" + createtime +
                ", conferred=" + conferred +
                '}';
    }
}
